<script type="text/javascript">
<!--//--><![CDATA[//><!--
  $(document).ready(function() {
  	  $('#refresh').click(function() {
         var t = new Date().getTime();
         $('#divcaptcha').html('<img src="{site_url}/image.php?to=captcha&t=' + t + '" alt="" />');
      });
  });
//--><!]]>
</script>
<form action="{site_url}/index.php?dn=user" method="post">
<div class="clear-line"></div>
<div class="form-area">
  <fieldset>
   <legend>{login} <img src="{site_url}/temp/{site_temp}/images/icon/info.gif" alt="{login_hint}" /></legend>
   <input class="width" name="reglogin" size="30" type="text" maxlength="{maxname}" />
  </fieldset>
  <div class="clear-line"></div>
  <fieldset>
   <legend>{pass} <img src="{site_url}/temp/{site_temp}/images/icon/info.gif" alt="{pass_hint}" /></legend>
   <input class="width" name="regpassw" size="30" type="password" maxlength="{maxpass}" />
  </fieldset>
  <div class="clear-line"></div>
  <fieldset>
   <legend>{re_pass}</legend>
   <input class="width" name="regpasswconfir" size="30" type="password" maxlength="{maxpass}" />
  </fieldset>
  <div class="clear-line"></div>
  <fieldset>
   <legend>{e_mail} <img src="{site_url}/temp/{site_temp}/images/icon/info.gif" alt="{mail_hint}" /></legend>
   <input class="width" name="regmail" size="30" type="text" maxlength="255" />
  </fieldset>
  <div class="clear-line"></div>
  <fieldset>
   <legend>{re_e_mail}</legend>
   <input class="width" name="regmailconfir" size="30" type="text" maxlength="255" />
  </fieldset>
   <!--if:captcha:yes-->
   <fieldset class="standart">
   <legend>Captcha</legend>
   <table width="100%">
    <tr>
     <td width="100%" class="ac va pad">
      <input class="width" id="captcha" name="captcha" type="text" maxlength="5" value="" />
     </td>
     <td class="ac va pad">
     <div id="divcaptcha"><img src="{site_url}/image.php?to=captcha" alt="" /></div>
     </td>
     <td class="ac va pad">
     <button type="button" id="refresh" class="sub"><span><em>{all_refresh}</em></span></button>
     </td>
    </tr>
   </table>
   </fieldset>
   <!--if-->
   <!--if:control:yes-->
   <fieldset class="standart">
    <legend>{control_word}</legend>
    <p>{control}</p>
    <p><input class="width" id="respon" name="respon" size="30" type="text" maxlength="255" value="" /></p>
    <input name="cid" type="hidden" value="{cid}" />
    </fieldset>
   <!--if-->
   <div class="pad ac">
     <input name="re" value="register" type="hidden" />
     <input name="to" value="check" type="hidden" />
     <button type="submit" class="sub"><span><em>{further}</em></span></button>
   </div>
  <div class="clear"></div>
</div>
</form>
